﻿class CurrentState {
	public var _statusTypes:EnumeratedType;
	public var _status:Number;
	public var _currentPlayer:String;
	public var _currentDemon:Demon;
	public var _currentTile:Tile;
	public var _targetTile:Tile;
	public var _actionAttack:Attack;
	public var _actionTerrainAttack:TerrainAttack;
	public var _player:Player;
	public var _enemy:Player;
	public var _playerMap:Map;
	public var _enemyMap:Map;
	public var _attackDone:Boolean;
	public var _moveDone:Boolean;
	
	public function printState():Void {
		trace("CURRENT STATE:");
		trace("Status: " + _statusTypes[_status]);
		trace("Current Demon: " + _currentDemon.getName());
		trace("Current Tile: " + _currentTile.getName());
		trace("Target Tile: " + _targetTile.getName());
		trace("Action Attack: " + _actionAttack.getName());
		trace("Terrain Attack: " + _actionTerrainAttack.getName());
		trace("Player: " + _player.getName());
		trace("Enemy: " + _enemy.getName());
		//trace("Player Map: " + _playerMap.outputMap());
		//trace("Enemy Map: " + _enemyMap.outputMap());
		trace("Attack Done: " + _attackDone);
		trace("Move Done: " + _moveDone);
	}
}